package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 门店关联药品表
 */
@Data
@ApiModel("门店关联药品表")
public class DrugInnerStore implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药品关联门店id
     */
    @TableId
    @ApiModelProperty("药品关联门店id")
    private Long id;

    /**
     * 门店id
     */
    @ApiModelProperty("门店id")
    private Long storeId;

    /**
     * 药品id
     */
    @ApiModelProperty("药品id")
    private Long drugId;

    /**
     * 库存
     */
    @ApiModelProperty("库存")
    private Integer stock;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private Date updateTime;

    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;

}
